package com.currency.util;

import cn.hutool.crypto.digest.MD5;

import java.text.DecimalFormat;

public class StrTest {
    public static void main(String[] args) {
        String l = "a1234567";
        System.out.println(MD5.create().digestHex(l, "UTF-8"));
    }

    public static void main1(String[] args) {
        String yuanAmount = "32";
        DecimalFormat df = new DecimalFormat("#");
        System.out.println(df.format(Double.parseDouble(yuanAmount) * 100));
    }
}
